<?php include("header.inc.php") ?>
<?php include("navigation.inc.php")?>       
<?php include("left.inc.php")?>     

<div id="mainContent" class="grid_7">
<!-- Giong Tintuc.php -->
	<h2 class="tieudechitiet"> Cơ Cấu Tổ Chức </h2>
	<?php 
		$sql = "SELECT  * FROM cocautochuc WHERE STATUS = 1";
		$query = mysql_query($sql) or die("Can't query cocautochuc");
		while ($row = mysql_fetch_array($query))
		{
			
	?>
	<div id="tintuc" class="grid_7">
    	<div id="tieude" class="grid_7">
			<a href = "cocauchitiet.php?id=<?=$row['idcocautochuc'];?>"> <?=$row['tentochuc']?> </a>        	
        </div>
        <div id="thoigian" class="grid_7">
        	(<?php echo ($time = date('d-m-Y G:i:s',strtotime($row['thoigian'])));?>)
        </div>
        <div id="xemchitiet" class="grid_7">
        	<a href = "cocauchitiet.php?id=<?=$row['idcocautochuc'];?>"> Xem Chi Tiết >> </a>        	
        </div>
    </div>  
    <?php
		}
	?>
            
</div>
     
<?php include("right.inc.php")?>  
<?php include("footer.inc.php")?>  

